package com.itheima.service.Impl;

import com.itheima.domain.TripNew;
import com.itheima.mapper.TripMapper;
import com.itheima.mapper.TripMapperNew;
import com.itheima.service.TripNewService;
import com.itheima.service.TripService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TripNewServiceImpl implements TripNewService {

    @Autowired
    private TripMapperNew tripMapperNew;

    public List<TripNew> findAllTrip() {
        return tripMapperNew.findAllTrip();
    }
}
